package com.rt.nettysocketio.SocketIOService;

import com.rt.nettysocketio.dto.PushMessage;

/**
 * TODO().
 *
 * <p>TODO().
 *
 * <p>版权所有:Copyright (c) 2019<br/>
 * @version V1.0
 * @since 2020/6/4 15:30
 */

public interface SocketIOService {
    //推送的事件
    public static final String PUSH_EVENT = "push_event";

    // 启动服务
    void start() throws Exception;

    // 停止服务
    void stop();

    // 推送信息
    void pushMessageToUser(PushMessage pushMessage);
}
